// Copyright 2009 Pigasus.
// GNU GPL v2.
// Author: John Zhang and Jordan Rupprecht.
//
// Implements the wait keyword for Pigasus.

#ifndef WAIT_H_
#define WAIT_H_

// Seconds to wait before checking again.
const int kDefaultWaitDelay = 1;

// Block the program while a specified job is still running.
void Wait(int job_id);

// Block the program while any job is still running.
void WaitAll();

#endif  // WAIT_H_
